//
//  OrderInfo.m
//  EasyToo
//
//  Created by zhengzhe on 13-9-15.
//
//

#import "OrderInfo.h"

@implementation OrderInfo

- (NSMutableDictionary*)toDictionary
{
    NSMutableDictionary *dict = [[[NSMutableDictionary alloc]init] autorelease];
    
    [dict setObject:self.goodsId forKey:@"productId"];
    [dict setObject:[NSNumber numberWithFloat:self.price] forKey:@"price"];
    [dict setObject:[NSNumber numberWithInteger:self.num] forKey:@"acount"];
    [dict setObject:@"[]" forKey:@"properties"];          //兼容服务器

    return dict;
}

@end
